OrderedDictionary Constructor

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Overload List

NameDescription
Public methodOrderedDictionary<(Of <TKey, TValue>)>OrderedDictionary<(Of <TKey, TValue>)>New()()
Creates a new OrderedDictionary. The TKey must implemented IComparable<TKey> or IComparable. The CompareTo method of this interface will be used to compare keys in this dictionary.
Public methodOrderedDictionary<(Of <TKey, TValue>)>OrderedDictionary<(Of <TKey, TValue>)>New(IComparer<(Of <TKey>)>)
Creates a new OrderedDictionary. The Compare method of the passed comparison object will be used to compare keys in this dictionary.
Public methodOrderedDictionary<(Of <TKey, TValue>)>OrderedDictionary<(Of <TKey, TValue>)>New(IEnumerable<(Of <KeyValuePair<(Of <TKey, TValue>)>>)>)

Creates a new OrderedDictionary. The TKey must implemented IComparable<TKey> or IComparable. The CompareTo method of this interface will be used to compare keys in this dictionary.

A collection and keys and values (typically another dictionary) is used to initialized the contents of the dictionary.

Public methodOrderedDictionary<(Of <TKey, TValue>)>OrderedDictionary<(Of <TKey, TValue>)>New(Comparison<(Of <TKey>)>)
Creates a new OrderedDictionary. The passed delegate will be used to compare keys in this dictionary.
Public methodOrderedDictionary<(Of <TKey, TValue>)>OrderedDictionary<(Of <TKey, TValue>)>New(IEnumerable<(Of <KeyValuePair<(Of <TKey, TValue>)>>)>, IComparer<(Of <TKey>)>)

Creates a new OrderedDictionary. The Compare method of the passed comparison object will be used to compare keys in this dictionary.

A collection and keys and values (typically another dictionary) is used to initialized the contents of the dictionary.

Public methodOrderedDictionary<(Of <TKey, TValue>)>OrderedDictionary<(Of <TKey, TValue>)>New(IEnumerable<(Of <KeyValuePair<(Of <TKey, TValue>)>>)>, Comparison<(Of <TKey>)>)

Creates a new OrderedDictionary. The passed delegate will be used to compare keys in this dictionary.

A collection and keys and values (typically another dictionary) is used to initialized the contents of the dictionary.

See Also